package com.zzl.bonds.ticket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 票的操作记录表
 *
 * @author sunpp
 * @date 2022-02-16 11:14:07
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class TickeoperateLogUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "主键", example = "")
    private String id;
    @ApidocModelProperty(description = "凭证上一个状态", example = "")
    private Integer ticketPreviousStatus;
    @ApidocModelProperty(description = "操作类型 1、开单申请 2、复核通过 3、审批通过 4、签收 5、拆转申请 6、融资申请 等", example = "")
    private Integer operateType;
    @ApidocModelProperty(description = "票据状态", example = "")
    private Integer ticketStatus;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "开单日期", validate = "yyyy-MM-dd HH:mm:ss")
    private Date invoiceTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "到期日期", validate = "yyyy-MM-dd HH:mm:ss")
    private Date cashTime;
    @ApidocModelProperty(description = "操作人id", example = "")
    private Integer operateId;
    @ApidocModelProperty(description = "操作人", example = "")
    private String operateUser;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "操作时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date operateTime;
    @ApidocModelProperty(description = "企业id,权限使用", example = "")
    private String enterpriseId;
    @ApidocModelProperty(description = "部门id", example = "")
    private Integer orgId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "创建人", example = "")
    private Integer creatorId;

}
